package com.songlanyun.modules.coupon.service;

import com.songlanyun.common.drive.IBaseService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.coupon.entity.CouponEntity;
import com.songlanyun.modules.coupon.entity.CouponShopEntity;
import com.songlanyun.modules.shop.entity.ShopEntity;
import com.songlanyun.modules.shop.model.vo.ShopSlimVO;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-07-05 15:20:02
 */
public interface CouponShopService extends IBaseService<Long,CouponShopEntity> {

    @Override
    PageUtils queryPage(Map<String, Object> params);

    List<ShopSlimVO> loadAdaptShops(Long couponId);

    List<Long> loadAdaptShopIds(Long couponId);

    void batchSet(CouponEntity couponEntity, List<CouponShopEntity> couponShopEntities);
}

